package com.baibei.pay.selector;

/**
 * Created by shenminjie on 2017/8/22.
 * mail:shenminjie@100bei.com
 */

import android.support.v4.app.DialogFragment;

/**
 * 回调选中
 *
 * @param <T>
 */
public interface OnSelectListener<T> {

    /**
     * 确定选中
     *
     * @param t        t
     * @param fragment fragment
     */
    void onDefineListener(T t, DialogFragment fragment);

    /**
     * 取消
     *
     * @param fragment fragment
     */
    void onCancle(DialogFragment fragment);
}
